home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / gpt32src.zip / MAKEFILE.MSC < prev    next >
Text File  |  1992-03-25  |  3KB  |  102 lines

  1. #
  2. # $Id: makefile.msc,v 3.26 92/03/24 22:36:31 woo Exp Locker: woo $
  3. #
  4. # Make file for use with Microsoft C  Version 5.10
  5. # and Microsoft Program Maintenance Utility  Version 4.07
  6.  
  7. # where to place gnuplot.gih helpfile
  8. HELPFILE = gnuplot.gih
  9.  
  10. # /c  means don't link
  11. # /AL means large memory model (large code, large data)
  12. # /DPC means define symbol PC
  13. CFLAGS = /c /AL /DPC #/DMSDOS #/Zi #/Od
  14.  
  15. # see other terminal defines in term.h
  16. TERMFLAGS = 
  17.  
  18. # /NOE means NO EXTernal Dictionary
  19. # /EX  means pack EXE file
  20. # /ST:10000 means stack size 10000 bytes
  21. LINKFLAGS = /NOE /EX /ST:10000 #/codeview 
  22.  
  23. OBJS =     bitmap.obj command.obj contour.obj eval.obj graphics.obj graph3d.obj \
  24.     help.obj internal.obj misc.obj parse.obj plot.obj readline.obj \
  25.     scanner.obj setshow.obj standard.obj term.obj util.obj version.obj \
  26.     pcgraph.obj hrcgraph.obj corgraph.obj
  27.  
  28. CSOURCE5 = term\aed.trm term\cgi.trm term/dumb.trm term/dxf.trm term\dxy.trm \
  29.     term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
  30.     term\hp2648.trm term\hpgl.trm term\hpljii.trm 
  31. CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
  32.     term\iris4d.trm term\kyo.trm term\latex.trm term/pbm.trm term\pc.trm 
  33. CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
  34.     term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
  35.     term\v384.trm term\x11.trm
  36. CSOURCE8 = contour.c
  37.  
  38. # default rules
  39. .c.obj:
  40.     cl $(CFLAGS) $*.c
  41.  
  42. .asm.obj:
  43.     masm $*;
  44.  
  45. pcgraph.obj: pcgraph.asm header.mac lineproc.mac
  46.  
  47. corgraph.obj: corgraph.asm header.mac lineproc.mac
  48.  
  49. hrcgraph.obj: hrcgraph.asm header.mac lineproc.mac
  50.  
  51. bitmap.obj: bitmap.c bitmap.h plot.h
  52.  
  53. command.obj: command.c plot.h setshow.h help.h
  54.     cl $(CFLAGS) /DHELPFILE=\"$(HELPFILE)\" command.c
  55.  
  56. contour.obj: contour.c plot.h
  57.  
  58. eval.obj: eval.c plot.h
  59.  
  60. graphics.obj: graphics.c plot.h setshow.h
  61.  
  62. graph3d.obj: graphics.c plot.h setshow.h
  63.  
  64. help.obj: help.c plot.h help.h
  65.  
  66. internal.obj: internal.c plot.h
  67.  
  68. misc.obj: misc.c plot.h setshow.h
  69.  
  70. parse.obj: parse.c plot.h
  71.  
  72. plot.obj: plot.c plot.h setshow.h
  73.  
  74. readline.obj: readline.c
  75.  
  76. scanner.obj: scanner.c plot.h
  77.  
  78. setshow.obj: setshow.c plot.h setshow.h
  79.  
  80. standard.obj: standard.c plot.h
  81.  
  82. term.obj: term.c term.h plot.h setshow.h bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  83.     cl $(CFLAGS) $(TERMFLAGS) /Iterm term.c
  84.  
  85. util.obj: util.c plot.h
  86.  
  87. version.obj: version.c
  88.  
  89. # convert gnuplot.doc to gnuplot.gih
  90. doc2gih.exe: docs\doc2gih.c
  91.     cl docs\doc2gih.c
  92.  
  93. $(HELPFILE): doc2gih.exe docs\gnuplot.doc
  94.     doc2gih docs\gnuplot.doc $(HELPFILE)
  95.  
  96. # Object files in link command line are ordered to avoid far jumps.
  97. # use linkopt.msc to avoid command-line overflow
  98.  
  99. gnuplot.exe: $(OBJS)
  100.  link $(LINKFLAGS) @linkopt.msc
  101.